import CodeBlock from "@theme/CodeBlock";

# Datetime parser

This OutputParser can be used to parse LLM output into datetime format.

import Example from "@examples/prompts/datetime_parser.ts";
import IntegrationInstallTooltip from "@mdx_components/integration_install_tooltip.mdx";

<IntegrationInstallTooltip></IntegrationInstallTooltip>

```bash npm2yarn
npm install @langchain/openai
```

<CodeBlock language="typescript">{Example}</CodeBlock>
